package com.appspot.yozmcup.oauth;

import oauth.signpost.OAuthConsumer;
import oauth.signpost.OAuthProvider;
import oauth.signpost.basic.DefaultOAuthConsumer;
import oauth.signpost.basic.DefaultOAuthProvider;

public final class OAuthInfo {
	public static final String CONSUMER_KEY = "548fefaa-56e3-4519-aec7-cfd7946a716e";
	public static final String CONSUMER_SECRET = "PAseJ-xhXyGVAfKbfcQplLkDRHul3RX5npl6_yPxminE4hoVXhBScQ00";
	public static final String URL_CALLBACK = "http://yozmcup.appspot.com/OAuth";
	public static final String URL_REQUEST_TOKEN = "https://apis.daum.net/oauth/requestToken";
	public static final String URL_ACCESS_TOKEN = "https://apis.daum.net/oauth/accessToken";
	public static final String URL_AUTHORIZE = "https://apis.daum.net/oauth/authorize";
	
	private static  final OAuthConsumer consumer = new DefaultOAuthConsumer(CONSUMER_KEY, CONSUMER_SECRET);
	private static final OAuthProvider provider = new DefaultOAuthProvider(URL_REQUEST_TOKEN, URL_ACCESS_TOKEN, URL_AUTHORIZE);
	
	public static OAuthConsumer getConsumer(){
		return consumer;
	}
	
	public static OAuthProvider getProvider(){
		return provider;
	}
}
